package Day1.che;

public class Truck extends Vehicle {
    public Truck(String brand, int maxSpeed) {
        super(brand, maxSpeed);
    }

    @Override
    public void drive() {
        super.drive();
        System.out.println(  this.getBrand() + "卡车正在缓慢行驶");
    }

    @Override
    public void honk() {
        System.out.println(this.getBrand() + "卡车发出巨大的喇叭声");
    }
}
